package org.jeecg.modules.charge.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.entity.charge.ChargeInvoiceInfo;

/**
 * @Description: 票据详情
 * @Author: jeecg-boot
 * @Date:   2019-08-26
 * @Version: V1.0
 */
public interface ChargeInvoiceInfoMapper extends BaseMapper<ChargeInvoiceInfo> {
     /**
      * 其他收费列表
      * */
    public List<ChargeInvoiceInfo> getOtherInvoice(Page<ChargeInvoiceInfo> page,@Param("chargeInvoiceInfo")ChargeInvoiceInfo chargeInvoiceInfo);

    public List<ChargeInvoiceInfo> getInvoiceInfo(@Param("invoiceId")String invoiceId);

    public Integer insertInfos(@Param("infolist") List<ChargeInvoiceInfo> infolist);

    public Integer insertInfosRemove(@Param("infolist") List<ChargeInvoiceInfo> infolist);

    public List<ChargeInvoiceInfo> getDepositList(Page<ChargeInvoiceInfo> page,@Param("Info")ChargeInvoiceInfo chargeInvoiceInfo);

    /**根据ID查询票据详情*/
    public ChargeInvoiceInfo get(String id);

    public Integer refundUpdate(String id);

    public List<ChargeInvoiceInfo> getDepositReportList(@Param("Info")ChargeInvoiceInfo chargeInvoiceInfo);
}
